/* miniprogram/pages/userPosition/userPosition.wxss */
// 引入主题色
@import "../../app.less";
.nav {
    .bar--weui-navigation-bar__left {
        width: 30px !important;

        view {
            width: 100%;
        }
    }

    .weui-navigation-bar__center {
        justify-content: left !important;
    }
}

// 当前城市   城市定位样式
.my-cells {
    .weui-cells {
        position: static;
    }
    .icon-dingwei{
        margin-right:20rpx;
        color:@themeColor;
    }
    .reLocate{
        color:@themeColor;
    }
}

// 分隔线
.partition {
    margin: 5px 16px;
    height: 2rpx;
    background-color: #EFEFEF;
    border-radius: 5rpx;
    overflow: hidden;
}

// 主体部分
.main {
    margin-top: 15px;
    .allCityText {
        color: rgba(0, 0, 0, .5);
        font-size: 14px;
        padding: 0 16px;
    }
    .allCityBox{
        padding: 16px;
        display: flex;
        flex-wrap: wrap;
        .city{
            width: 23%;
            padding: 16rpx 0;
            margin-right: 2.5%;
            margin-bottom: 3%;
            display: flex;
            justify-content: center;
            font-size: 14px;
            border-radius: 5rpx;
            background-color: #EFEFEF;
            &.active{
                background-color: @themeColor;
                color: #fff;
            }
            &:nth-child(4n){
                margin-right: 0;
            }
        }
    }
}